package com.sc.nft.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class OrderRushPayDTO {

    @ApiModelProperty("类型  1、藏品 2、白名单")
    @NotNull(message = "请输入优先抢类型")
    @Range(min = 1,max = 2,message = "优先购类型不正确")
    private Integer type;

    @ApiModelProperty("藏品UUId")
    private String collectionUuid;

    @ApiModelProperty("数量")
    private Integer count;
}
